package ma.mindware.mpm.domain.project;

import java.sql.Date;
import java.sql.Timestamp;

import ma.mindware.mpm.domain.projectdirector.ProjectDirector;
import ma.mindware.mpm.domain.status.Status;
import jpmapper.core.FOREIGN;
import jpmapper.core.ID;
public class Project {
	
	//ID
	@ID
	private long projectID;
	private String name;
	private String description;
	private Timestamp createdDate;
	private Timestamp SPD;
	private Timestamp SRD;
	private Timestamp EPD;
	private Timestamp ERD;
	
	// Foreign key
	@FOREIGN
	private ProjectDirector projectDirectorID;
	@FOREIGN
	private Status statutID;


	
	//getters & setters 
	
	public Project() {
		super();
	}
	public long getProjectID() {
		return projectID;
	}
	public void setProjectID(int projectID) {
		this.projectID = projectID;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	
	public Timestamp getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Timestamp createdDate) {
		this.createdDate = createdDate;
	}
	public Timestamp getSPD() {
		return SPD;
	}
	public void setSPD(Timestamp sPD) {
		SPD = sPD;
	}
	public Timestamp getSRD() {
		return SRD;
	}
	public void setSRD(Timestamp sRD) {
		SRD = sRD;
	}
	public Timestamp getEPD() {
		return EPD;
	}
	public void setEPD(Timestamp ePD) {
		EPD = ePD;
	}
	public Timestamp getERD() {
		return ERD;
	}
	public void setERD(Timestamp eRD) {
		ERD = eRD;
	}
	public ProjectDirector getProjectDirectorID() {
		return projectDirectorID;
	}
	public void setProjectDirectorID(ProjectDirector projectDirectorID) {
		this.projectDirectorID = projectDirectorID;
	}
	public Status getStatutID() {
		return statutID;
	}
	public void setStatutID(Status statutID) {
		this.statutID = statutID;
	}

}
